﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;
namespace BUS
{
    public class CTDonHangBUS
    {
        public int ThemCTDonHang(CTDonHangDTO ctdhdto)
        {
            CTDonHangDAO dao = new CTDonHangDAO();
            return dao.ThemCTDonHang(ctdhdto);
        }

        public int HuyCTDonHang(CTDonHangDTO ctdhdto)
        {
            CTDonHangDAO dao = new CTDonHangDAO();
            return dao.HuyCTDonHang(ctdhdto); ;
        }

        public List<CTDonHangDTO> LietKeCTDHTheoMaKH(string maKH)
        {
            CTDonHangDAO dao = new CTDonHangDAO();
            return dao.LietKeCTDHTheoMaKH(maKH);
        }



       
    }
}
